home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jaz_clib.arc
/
GETCS.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-04-09
|
1KB
|
27 lines
Comment *
┌────────────────────────────────────────────────────────────────────────────┐
│getcs.asm │
│Return the Code segment value │
│ │
│Usage: │
│ unsigned int cs; │
│ │
│ cs = getcs(); │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*
title get cs value
name getcs
assume cs:_text
_text segment public byte 'code'
public _getcs
_getcs proc near
mov ax,cs
ret
_getcs endp
_text ends
end